package com.ruoyi.teach.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 课程评论对象 nb_course_comment
 * 
 * @author ruoyi
 * @date 2021-12-08
 */
public class NbCourseComment extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 评论主键 */
    private Long id;

    /** 评论课程 */
    @Excel(name = "评论课程")
    private Long courseId;

    /** 评论内容json字符串 */
    @Excel(name = "评论内容json字符串")
    private String commentJson;

    /** 状态;0-&gt;正常 1-&gt;删除 */
    @Excel(name = "状态;0-&gt;正常 1-&gt;删除")
    private Integer status;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setCourseId(Long courseId) 
    {
        this.courseId = courseId;
    }

    public Long getCourseId() 
    {
        return courseId;
    }
    public void setCommentJson(String commentJson) 
    {
        this.commentJson = commentJson;
    }

    public String getCommentJson() 
    {
        return commentJson;
    }
    public void setStatus(Integer status) 
    {
        this.status = status;
    }

    public Integer getStatus() 
    {
        return status;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("courseId", getCourseId())
            .append("commentJson", getCommentJson())
            .append("createTime", getCreateTime())
            .append("status", getStatus())
            .toString();
    }
}
